#ifndef REMITOOL_H
#define REMITOOL_H

#include <QMainWindow>
#include <QtSql>
#include "rt.h"
#include "remi.h"
#include "archiv.h"
#include "stammdaten.h"
#include "decipheraddon.h"
#include "onlineloginform.h"
#include "onlineremi.h"
#include "onlinesortiment.h"

namespace Ui {
class RemiTool;
}

class RemiTool : public QMainWindow
{
    Q_OBJECT

public:
    explicit RemiTool(QWidget *parent = 0);
    ~RemiTool();

    QString programm_version;

private Q_SLOTS:
    void saveSettings();
    void loadSettings();

private:
    Ui::RemiTool *ui;
    QSqlDatabase db;
    DecipherAddon da;

    Remi *remi;
    Archiv *archiv;
    Stammdaten *stammdaten;
    OnlineRemi *onlineremi;
    OnlineSortiment *onlinesortiment;

private Q_SLOTS:
    void goToArchiv();
    void on_action_ber_RemiTool_triggered();
    void cleanDatabase();
    void on_actionOnline_Login_Daten_triggered();
    void on_actionProxy_konfigurieren_triggered();
};

#endif // REMITOOL_H
